//
//  FirstViewController.m
//  ScalperMerchant
//
//  Created by 王云 on 2017/10/6.
//  Copyright © 2017年 WY. All rights reserved.
//

#import "FirstViewController.h"
#import "SCLoginController.h"
#import "RegViewController.h"
#import "BusinessSettledController.h"
#import  <AVFoundation/AVCaptureDevice.h>

@interface FirstViewController ()
//1242X600
@end

@implementation FirstViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"黄牛派商户端";
//    _heightLayout.constant = kWidth/(1242/1000); OC语言没有小数
    _heightLayout.constant = kWidth/1242*1000;

    [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName: [UIColor blackColor],NSFontAttributeName:[UIFont systemFontOfSize:16.0]}];

   
}

- (IBAction)loginClick:(id)sender {
    
    SCLoginController *loginVC = [[SCLoginController alloc] init];
    [self.navigationController pushViewController:loginVC animated:YES];
}
- (IBAction)SettledClick:(id)sender {
    
    RegViewController *regVC = [[RegViewController alloc] init];
    [self.navigationController pushViewController:regVC animated:YES];
    
}



- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
   
    [self.navigationController.navigationBar lt_setBackgroundColor:[UIColor whiteColor]];

}


@end
